<?php
	require_once("../../library/function/connect.php");
	$user = $_POST['user'];
	
	$query = mysql_query(" SELECT id FROM thanhvien WHERE user = '$user' ");
	if(mysql_num_rows($query) > 0)
		echo "false";
	else
		echo "true";
?>